package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 阈值表
 * </p>
 *
 * @author chenhc
 * @since 2025-03-25
 */
@Data
@TableName("threshold")
@ApiModel("阈值")
public class Threshold implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer deviceId;

    /**
     * 类型
     */
    private String type;

    private Integer redWarning;

    private Integer orangeWarning;
}
